var t = {
    setStorageSync: function(t, e) {
        try {
            wx.setStorageSync(t, e);
        } catch (r) {
            wx.setStorage({
                key: t,
                data: e
            });
        }
    },
    getStorageSync: function(t) {
        try {
            return wx.getStorageSync(t);
        } catch (e) {
            return wx.getStorage(t);
        }
    },
    removeStorageSync: function(t) {
        try {
            wx.removeStorageSync(t);
        } catch (e) {
            wx.removeStorage(t);
        }
    }
};
module.exports = {
    storage: t
};